"""
Given an array and a value, remove all instances of that > value in place and return the new length.
The order of elements can be changed. It doesn't matter what you leave beyond the new length.
"""

"""
solution:
关键的问题在于器需要 in place

比如对于:
1 2 2 3 2 4

可以使用两个下标 i, j 对列表进行遍历
"""


class Solution(object):
    def removeElement(self, nums, val):
        """
        :type nums: List[int]
        :type val: int
        :rtype: int
        """
        pass


if __name__ == "__main__":
    pass
